package com.yanqu.road.entity.crossorewar;

import com.yanqu.road.entity.DataObject;

import java.util.List;

public class CrossUserOreRefuge extends DataObject {

    private int activityId;

    private int pitId;

    private long userId;

    private List<Integer> patronsIdList;

    private long joinTime;

    private long lastGetRewardTime;


    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        if(activityId != this.activityId){
            this.activityId = activityId;
            setUpdateOption();
        }
    }

    public int getPitId() {
        return pitId;
    }

    public void setPitId(int pitId) {
        if(this.pitId != pitId) {
            this.pitId = pitId;
            setUpdateOption();
        }
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        if(this.userId != userId) {
            this.userId = userId;
            setUpdateOption();
        }
    }

    public List<Integer> getPatronsIdList() {
        return patronsIdList;
    }

    public void setPatronsIdList(List<Integer> patronsIdList) {
        this.patronsIdList = patronsIdList;
        setUpdateOption();
    }

    public long getJoinTime() {
        return joinTime;
    }

    public void setJoinTime(long joinTime) {
        if(this.joinTime != joinTime) {
            this.joinTime = joinTime;
            setUpdateOption();
        }
    }

    public long getLastGetRewardTime() {
        return lastGetRewardTime;
    }

    public void setLastGetRewardTime(long lastGetRewardTime) {
        if(this.lastGetRewardTime != lastGetRewardTime) {
            this.lastGetRewardTime = lastGetRewardTime;
            setUpdateOption();
        }
    }
}
